package com.hhd.pdf.components;

import com.hhd.pdf.context.GeneratorContext;
import com.itextpdf.text.DocumentException;
import org.dom4j.Element;
import org.dom4j.tree.DefaultElement;

import java.io.IOException;
import java.util.Collection;

public abstract class AbstractInLineBlockComponent extends AbstractInlineComponent implements InLineBlockComponent, InLineComponent {

    @Override
    @Deprecated
    public void parseComponent(Element element, GeneratorContext context) throws Exception {
    }

    @Deprecated
    public String getFormula(DefaultElement defaultElement) {
        return "";
    }

    @Deprecated
    public Collection<? extends com.itextpdf.text.Element> createPdfElement(DefaultElement defaultElement, GeneratorContext context, String parsedFormula) throws DocumentException, IOException {
        return null;
    }

}
